import React, { useEffect } from "react";
import { Button } from "../simple-ui/Button/index.jsx";
import { ConsumerProvider } from "../components/ConsumerProvider/index.jsx";
import Reducer from "./Reducer/index.jsx";
const Home = () => {
  useEffect(() => {
    fetch("/api/project", { method: "GET" });
  }, []);
  return (
    <ConsumerProvider>
      <Reducer />
      <Button>ssssssss</Button>
    </ConsumerProvider>
  );
};

export default Home;
